package com.example.demo.dubbo;

import com.example.demo.po.User;

import java.util.List;

public interface UserDubboService {
    User getById(Long id);
    List<User> getAll();
    boolean create(User user);
    boolean update(User user);
    boolean deleteById(Long id);
    User getByPhone(String phone);
    boolean batchCreate(java.util.List<User> users);
    java.util.List<User> listPage(int pageNum, int pageSize);
} 